add regular-polygon.js