Mostly working Prefix Expressions solution
Use Rational numbers for exact results