Add .gitignore to ignore .idea directory.