Divide two integers - minor refactor