Implements Serializable in driver class and Javadoc added in driver and graph classes