Create a LinkedList, and addTail method and printList method