added line to initialize each element of problembase
added line to total the elements of the problem
add SetTotal(integer) and fixed setGuess where it will work.