added is_chordal_or_not_perfect
added is_chordal_or_not_perfect update