get_zigzag_turns function

Compute turns for zigzag