Base62 Algorithm. Convert integers to base62 strings and back.