solve fizzbuzz refactor