Assignment 1 -submitted version