added copyconstructors to create deep copy
implemented parseGraph and to SparseMultigraph by making deep copies of involved objects
enhanced parsing methods