adding spring mass system with Forward Euler method