Add HeapPageId functionality (exercise 3)