https://www.hackerrank.com/challenges/reverse-a-linked-list