update the new better solution for "Fraction to Recurring Decimal"