finished s03/Heap.java