added .gitignore and modified app.java to include line break so when run from command line the prompt will return on a new line as the usual command line behavior.