Add difference function
Add multi3 using generator.