Remove .class files and add a basic .gitignore for Java