fixed issue where zig zag was not being identified because list order ma...

...tters, so changing to a set