Returns random integer between <code>from</code> and <code>to</code> values
@param {Number} from
@param {Number} to
@returns {Number}
function rand(from, to) {
	return Math.floor(Math.random() * (to - from) + from);
}