Created Class for the calculator