Implemented HeapPageIterator class