Created helper function isAValidOperation to check if operation is 
either add, subtract, multiply or divide. This helped shorten the
evaluateOperation() method