refactoring and correcting the Fizzbuzz class