fizzbuzz generator creates an array with the input value as the upper limit