add solution for ZigZagConversion