Fix Reference Implementation of find_components
There were a few bug in the reference implementation of find_components. Document the algorithm better, add test cases, fix the bugs
There were a few bug in the reference implementation of find_components. Document the algorithm better, add test cases, fix the bugs