Exercise 10.2 upto Question 9
The Base Academy