updated fizzbuzz funciton to take arguments