Implement insert for LinkedList