Niente ok,proverò con il depth-first search anche se non ho molte idee su come realizzare i muri tra due celle.