Rudimentary physics emulator written in Python