add primitive function `rand', `rand-range'
add sample `sample/io/dice.egi'