removed unused variables and commented code
added gitignore, and java test