Zig Zag Conversion

Exercise from LeetCode, it is accepted