Update random.cpp with output text