Create a collision detection system (no libraries allowed). Revisiting a simple 2D physics system I built a while ago.