Code for PIC and Node to Calculate the approximate area of an convex regular enclosed polygon