move regular-polygon.js to src folder