Fixed get links on page

Also attempted to find a path from page A to page B using dfs. Still
doesn’t work, but it will doe.