An example of implementation of a simpcalculator