Implement LinkedList class and functionality