We changed all for-loop ints to be 0 instead of 1, and all corresponding values to have base 0.