Chapter 1- Exercise 3 write-ups - part 1 and 2