Exercise 2
More exercises for HW 7