working on exercise 6, unable to delete first element