Python function to divide two integers, handling infinite recurring decimals See https://tartley.com/posts/integer-division-with-recurring-decimals/