Added printAllLinks procedure