Code inserted

Code for assignment 2 inserted.