Assignment 2

Writing the code and doing the actual assignment