Add simple algorithm for converting number from base 10 to base N