Added GroupAdjacent extension method