Convert to and from Koremutake Memorable Random Strings in Python