Fixed getRandomBoolean() and made it into one line