A  zigzag_conversion.cpp