Player regeneration

In the case of consecutive re-spawn, the player to exit first gets the maze input with only symbol 'B'. So that player will not make a move since no symbol A on the maze.