Added JavaDoc for methods.
Merge pull request #3 from stevilstick/mywork

Added JavaDoc for methods.