modified main removed 0 to test 1st entry, 3 and 7 to remove middle nodes, and 9 to remove final node... test works