Fixed type-checking for math
Added explicit check for math operators
Only evaluate math arguments once
Use dictionary for math evaluation
Format only
Passed all tests of part 3