Add algorithm for converting real number from 10 base to n base