Fizzbuzz program as described in Codeeval challenge