updating math problem class for parse
fixed merge conflict