dataGenerator.cpp by Christian