Completed assignment 2

The completed version of the assignment 2 for the course