Defined method and class in fizzbuzz.rb