Refactor of the Shapes file.

Moved the polygon class into the file Polygon.h
Modification of Shapes.h

A lot of changes... haaanddssszzsszs