Basic scatter plotter implemented in JAVA