Create components.jl

Current components method only returns BFS spanning trees of each component.