Comments
Use a for loop in followLinks()