Added solutions from a student.