Add recognition algorithm for semiconnected graphs
Merge pull request #1122 from ysitu/semiconnected

Add recognition algorithm for semiconnected graphs