priority queue simulation now only outputs an array with the size of the heap