Added operator== in Edge and updated graph