add problem2 solution