This is the solution to the assignment