implemented 2-opt (in graphvisualizer) but there is a stutter at every repaint that has to be fixed.