finished 5.6 exercises