clump function

Group adjacent cells with similar values