This is an example of pseudorandom noise generation. The code behind it can be used for maps, random room generation, and, well, pseudorandom anything!