Pemdas works.
Improved algorithm.
Added decimal point, octal and binary modes.
Fixed bitwise not.
Fixed bitwise or.
Fixed bitshift operators.