Assignment 1, Exercise 2