Simple Dynamics Engine written in Class-C by Milan Toth