Adding basic nodes and printLinkedListFromEnd