Correct return types of functions in problems.h

Return types have changed to void, reflect that change in the header.