Added .idea to gitignore.
Fixed so bool is boolean in comments.