Implemented HeapFile and HeapPage according to javadocs