Converts decimals to and from any alphabet of any size (for shortening IDs, URLs etc.)