Completed exercise 39
Completed exercise 40