Helper to create linked List and displays it

Lets to create linked list node at nth position and display the entire list.