Improve math expression simplify function
Improve math expression simplify function

Thanks for stackoverflow user 'Stuart'

http://stackoverflow.com/questions/42356043/how-to-implement-math-expression-simplification-using-active-pattern

justanotheratom/Practice