This class is just a button that outputs increasing integers starting at 0 or a passed number.