physics engine to simulate problems for educational purposes