Working mkDict.py