Minor refactoring on FizzBuzz implementation