Changed random number to be divided by two, since there are only two options.