Implements basic FizzBuzz functionality