Refactored fizzbuzz