Problem 1 for Assignment 3