add .gitignore
try to ignore class files
added Bar class
stop tracking Foo.class