Finished list manipulation exercise 2