Updated FizzBuzz with better logical flow