solve zigzag conversion
solve reverse integer