Modularize script a bit.

Created "batches" of 1,000,000 rows to make it easier to insert large
or "constant" flows of ratings.  Well, really not constant, but you
can run the script with numBatches = 100 which would generate 100,000,000 ratings