removing duplicate code from calculator. Cleaning the calculators API following open close principle