A Python 2D physics engine