Cleaned up LinkedList class