check_split_by_sep function

Identify pairs of vertices that are split by a separator