Adding MathMenu solution code