split pagetables into two dictionaries and added an extra check to not try and make edges from a pointer to itself