Implemented page allocator (palloc) and utility functions for it.