Const correctness for shuffle.
Merge pull request #62 from sideeffects/master

Const correctness for shuffle.