inaryOperation class done, also all the methods have been tested