Created yes_or_no function

Made the yes or no a separate function (yes_or_no). Useful when I’ll
wish to make more “install SDL or not” cases