Converts any base (2 to 35) integer to any other base (2 to 35)