the calculator is built using classes and polymotphism to make it easier to add operations to.