adding IntelliJ files to .gitignore
int argument did not match pre-reqs of method
removing a redundant cast