Changed getProblem so that I don't create a submission if the problem does not have one. Instead, I return a blank solution.