Assignment 2

Here is my working code all the way to assignment 2