Simple program to draw some lines,  From "Java How To Program, 10/e, Early Objects" - Chapter 4