adds problem 2 solution