implemented multiplication and division