Refactored FizzBuzz

Final version with user input functionality.