Improve mkcd function