Python BFS not working to return connected sinks I’m taking a file of symbols: pipes with openings on specific sides the source: * sinks: letters