How To Take User Input For Linked List In Java