Boolean Function

Added the boolean function, and also removed the “myPrompt” variables,
and the console logging of prompt questions; this was to make the code
simpler and more on-target with the assignment.