Updated the solutions for class four problems