completed pagetable.c and ptTest.c