1) added new class 'AutoGenerateData' for randomized algorithm