powered by
this helper function helps to group consecutive integers in a sequence of integers.
intToGroups(x)
a vector of integers.
a list of integer vectors.