Added documentation for assignment2