A script to generate any regular polygon