Create randomWriter.cpp