started work on assignment 4 + generated javadoc