reformat codes. add .idea/dictionaries/ to .gitignore.