Update math_game.js

organized code into switch statements. Used array instead or '+'