added divide function
added divide function