A new class method that calculates the area of given polygon would be a nice addition. please consider