Create Output of max.cpp