working version of python OOP simulator at tstep=0.1, code not cleaned up