Updated gitignore to ignore IntelliJ project files
Code cleanup
- spelling typos
- unnecessary initializations