Print Linked List Leetcode Problem