HW1:task 1: done SinglyLinked & DoublyLinked Lists