updated .gitignore
javadoc
added basic data structure