Implemented LinkedList2 insertFront and insertBack