A quick code that uses the speed variable to move the ball faster when the number is chosen on the slider.