Zig zag string problem