self-avoiding polygon

Input interpretation

self-avoiding polygon