refactoring fizzbuzz