Program to make Graphical shapes using Java