Added Javadoc for Assignment class
Made variables private