init zigzag cipher algorythm