refactor fizz-buzz print function.
refactor calculator_stat stat function