fixed lots of bugs and added a pivot selection algorithm this is doom bsp not quake bsp actually, but ithey are both leafy
with some help from: https://www.bc.edu/content/dam/files/schools/cas_sites/cs/pdf/academics/honors/04DerekCarr.pdf @wolther for helping me with the convexity check