(rand-int n)
Returns a random integer between 0 inclusive and n exclusive.
n
Returns a random integer between 0 (inclusive) and n (exclusive).
(defn rand-int [n] (Math/floor (* (Math/random) n)))