Add the parameter speed to the displaySpeed() function.

Make sure to code speed.