added a* pathing to connect coridors