assignment for java cs202