Code for assignment 1

peer review assignment