problem2's solution
Merge pull request #311 from imcad/assignment5

problem2's solution