created Line.java
created Polygon.java
created Rectangle.java
created Segment.java