Added color-based BFS

You may have to merge this selectively, especially that I have done something to submodules.