added javadoc
Merge pull request #50 from taylorsw/master

Documentation
Merge pull request #51 from hazarij/master

Added javadoc as per earlier code review
Documentation, Hungarian