added divide

switch other num and denom, then multiply in order to divide