finished implementing Push function of Linked List class