Update FizzBuzz.java

Redesigned to be more extensible.