2Moved nim_game.java to a src folder. This convention conforms to intellij, maven, gradle, and other java build tools. It also helps to organize the project directory by keeping all source files in a single folder.
3Added a .gitignore file to control which files are actually managed by Git.