Modified map generation algorithm.
Extracted choosing the next step in random walk to Pool class.