fix off-by-one errors in calls to rand.Intn() that were not including the maximum possible value
fix off-by-one errors in calls to rand.Intn() that were not including the maximum possible value

armhold/polygen,armhold/polygen