Assignment 3, Exercise 3