3rd homework, task 7, Create DoublyLinkedList