prints a list of all links on the page