defines set_speed, accelerate, turning functions