use randomInt function inside of shuffle function