Add a public method to the LinkList class called removeLast that removes and returns the last element in the linked list.
Use the following function header:
int removeLast()
Use the convention of returning 0, if the linked list is empty. This was used in the implementation of the removeFirst method.