fixing acceleration and breaking

now trains accelerate and break correctly and when they need to stop
they leave some space for other trains. Also cleaning Michał's rubbish.
Merge branch 'master' into acceleration

in why this merge is necessary,