Simple calculator. Implements Reverse Polish Notation algorithm.