Exercises 1-8 done