Added JOptionPane to driver for choosing graph. Fixed some things in Graph class