Problem #2

adjusted problem titles and added a solution.