Create a method in a LinkedList class called push that adds an element to the end of the linked list and returns the added element. The LinkedList class is created for you.
push(1) ➞ 1
push(2) ➞ 2
push(3) ➞ 3
Element is a positive integer.