Exercise 1 solution.
Exercise 2 setup
Exercise 2 solution.
Exercise 3 setup
Exercise 3 solution.