2D rigid body physics library written in C