Minor reliability improvements to challenge 31
Minor reliability improvements to challenge 31

This makes it work a little bit better, according to my tests.

mikez302/cryptopals_solutions,mikez302/matasanoSolutions