Revert "Use random.sample() rather than reinventing it."

My wrong. sample() doesn't allow repeating characters, so it's not
exactly the same.
Merge pull request #2 from mgorny/simpler-random

Revert "Use random.sample() rather than reinventing it."