Assignment 1, Exercise 3