Problems with polygon class found and currently being debugged. NEXT: run with std::cerr piped to fifo to view clear results