add multiply function for mycalculator class