Added precedence to the operators. Associativity is still not implemented.