this gem will generate the power of 2 random number and will check with the user input
Yann Nogueira
k.A.