Code cleanup

fixed alot of curly braces and whitespace.  Added .class files to
.gitignore since they dont matter.