Programming Assignment 2

First attempt