Add operation in Main class for generating random data