Prog Assignment 2 v1