divide two intergers reimpl