Finished 5.6 exercises