Reread the instructions and see that I cannot use a double-linked list. Switched solution to use a single linked list.