Add initial code for assignment 2
Merge pull request #3 from krishnaiitd/assignment2

Created new branch assignment2 and cherry pick from assignemnt 2