Calculator program modified