func IntPickRandPositive(maxVal int, dup bool, pickedIds, exsIds []int) (
	idx int,
) {
	rand.Seed(time.Now().UnixNano())
	var excluded, picked bool
	for {
		idx = rand.Intn(maxVal)
		excluded = false
		for _, v := range exsIds {
			if idx == v {
				excluded = true
				break
			}
		}
		if excluded {
			continue
		}
		if dup {
			return
		}
		picked = false
		for _, v := range pickedIds {
			if idx == v {
				picked = true
				break
			}
		}
		if picked {
			continue
		}
		return
	}
}
IntPickRandPositive return random integer value from 0 to maximum value
`maxVal`.

The random value is checked with already picked index: `pickedIds`.

If `dup` is true, allow duplicate value in `pickedIds`, otherwise only
single unique value allowed in `pickedIds`.

If excluding index `exsIds` is not empty, do not pick the integer value
listed in there.
package numbers
import (
	"math/rand"
	"time"
)
func IntCreateSeq(min, max int) (seq []int) {
	for ; min <= max; min++ {
		seq = append(seq, min)
	}
	return
}