before: 1 0 1 1 2 0 3 1 4 3 4 6 ------ after: 1 0-1 2 0 3 1 4 3-6 [download]
In reply to Group 2d array by Anonymous Monk