Solved Zig Zag problem with one demision