Implemented LinkedList2 retrieveFront and retrieveBack