refactored fizz buzz

refactor of fizz buzz