Can compute distance 4. Optimized loop_dfs to pass tests in 15 seconds down from ~75.
Can compute distance 4. Optimized loop_dfs to pass tests in 15 seconds down from ~75.