Updated LinkedList Implementation