write program based on fizzbuzz specification