added .gitignore.

ignoring bin directory.
deleted bein files
added a javadoc