Added .gitignore that ignores .class files

Class files are created by the Java compiler, and generally
aren't checked into the repository.