Added the polygon class