Changed HeadPageId.java and RecordId.java files.
Now passes HeapPageIdTest and RecordIdTest.