completed excercises 1-3