Tooling around with codes to create a dictionary