Commit of the solution to the programming assignment 2.