LinkedList methods implemented