polygon points changed to list
prototype of O'Rourke algorithm