Implement reduce.
Enable working without parentheses.
Change classes for calculation.