Fixed a bug in the code that is used to generate unique challenges, see #10.