Changed the procedural map generation, improved to use a better random number generation.