Torquescript implementation of rot.js's dungeon generator