following tutorial at

http://codeumbra.eu/complete-roguelike-tutorial-using-c-and-libtcod-part-3-dungeon-building