Add function difference-array
Add function diff