Part 1 for Assignment 1