java exercise code commit