minor tidy on test framework use enum instead of int for test mode
added verbose parameter to get output from a test even if it passes
fixed handling of negative numbers in divide
fixed bug in divide when doing the subtraction to make the new remainder for the next loop
put an error message in if the remainder size is too big