Fixed the bug where the graph does not draw edges after loading a file. Replaced if(String2 == String2) with if(String1.equals(String2)). == compares address and String.equals(String) compares value.
Added a toString() function for debugging purposes.