Implement shuf

This is an initial implementation of shuf.  Closes #337.