base62 encoding & decoding for compressing numbers