using insertion sort, two axes, and bounding boxes in SAPBroadphase