i think pachfinding algorythm would work
I ended up with breadth first algorithm, and it works great! Thank you for your suggestion though!
can you give me acces to this app?