Chart Generator Program In Java