included comments to fit conventions better.
shuffle: no backward iteration anymore
consistent function names
do comparison-check without conversion.