My solution

This is my complete solution to the assignment