hasCycle

Given a linked list, determine if it has a cycle in it.