Implement HeapFile.java