Added toStrings

Also remeber not to have duplicate edges <1-2> <2-1>