added .idea/dictionaries/* to the gitignore
formated some code and added comments to methods