Programming Assignment 1, Part 1