Added evaluate()

evaluate() evaluates given arithmetic.