Update BAMathProblem.m

Implemented the hint system for A4 task6 in google docs
-Alyza Villa