Box Algorithm

Generate bsp tree