Used the Math.random function for the computer's choices.