Added a resize feature to the MaxPQ.java