implemented BSP tree map generation and tilemap