Done excercises from 7th chapter