Moved the output function to the helpers file. All generic functions should be put into helpers.cpp
Moved the output function to the helpers file. All generic functions should be put into helpers.cpp