A general fizz_buzz program, taking four parameters.