Added random data generation to generator.rb