working on converting the bsp dungeon gen to coffee/javascript