solution to the FizzBuzz problem