Assignment 3, Task 2