Tighten some of the loops bound in Problem9::bruteForce
Tighten some of the loops bound in Problem9::bruteForce

wtmitchell/challenge_problems,wtmitchell/challenge_problems,wtmitchell/challenge_problems