composing math operators and programming the calculator