Started filling writeFuncs.hpp and writeFuncs.cpp
These files house the functions related to writing to files.