added documentation for Polygon
added documentation for Segment
added basic methods and documentation to Rectangle

methods:
Vector origin()
float height()
float width()