Added is_chordal invariant along with unit_tests