toy script to generate 10 groups of random trajectory