optimized connected components
fix test
simplify numpy arracy creation
git push origin masterMerge branch 'mhong19414-master'