Implemented Shape methods in Polygon