Created table3 correctly and tested if pagepath always equals nextpagepath