more efficient random bits and shorter guesses
Merge pull request #2 from yasyf/master

more efficient random bits and shorter guesses