Exercise 1.3.20 and created LinkedList