Finished excercises 1-7