Programming Assignment 2
1 New Classes: 
You must write the following classes:
  
 
3 Testing: 
Obviously, you should test your classes thoroughly.  It will be much
easier to debug these classes now than it will be when they are part
of a larger system.
At a minimum, you should test:
- 
Horizontal lines drawn left-to-right and right-to-left.
 
- 
Vertical lines drawn up-to-down and down-to-up.
 
- 
Lines with slope less than -1, -1, (0,1), 1, and greater than 1.
 
- 
Triangles with a flat top, a flat bottom, and/or a vertical side.
 
- 
Tall and thin triangles.
 
- 
Polygons with a flat top, a flat bottom, and/or a vertical side.
 
You can use the following test suites to get started:
 
4 Submission: 
In addition to the materials you must always submit, for this
assignment you must submit hardcopy of the output produced by the
following driver:
  
In MS-WIndows, you can copy the contents of the active window to the
system clipboard by pressing Alt-PrintScreen.