Removed OO DZ from main.cpp and refactored RandomGenerator class