beginning to modify polygon
working on a simpler polygon class