defined the fizzbuzz method