added the function to generatrate colocations of size 2