function randInt(n) {
   randNum = Math.ceil(Math.random()*n);
   return randNum;
}