Making Line Graphs In Java