Simple script computing the perimeter of an n-sided regular polygon