Calculator class that has add and subtract methods