solution to fizzbuzz problem