print Linked List

https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list