Passing simple maze by flooding all possible solutions simultaneously. First one to reach the exit is marked as the shortest one.