Added new subproblem solution