Moved chart making to its own class and file chartMaker.java