fizzbuzz Refactor

Changed code to get user prompt and use functions