ruby:shuffle implement