Find if a link list has a cycle.
Reverse a singly linked list in place.