Optimised priority queue
Optimised priority queue

Optimised a few methods in the PriorityQueue, added a few static methods if required (untested at the moment). Added a constructor to create a priority queue from arrays of data items and priorities. Changed the toString() method for better memory and time optimisation,
philj56/robot-swing,philj56/robot-swing,philj56/robot-swing