Assignment 3 Part 1 Solution