fixed string comparisons & var initializations
updated .gitignore
changed required idea version