Added simple array based priority queue implementation.