created MyLinkedList constructors and iterator()