Initial commit of code for assignment 2

This is the initial commit of code.