add the third problem zigzag_conversion.cpp