Which page? "Azkaban algorithm" returns over 1 million hits (although most are probably about Harry Potter).

But probably the answer to that question is that the mouse can't split and go down both exits simultaneously, so it will have to pick one direction, remember there was a choice, then come back later and try the other leg.