fix "random"

"randとrandom_shuffleが非推奨に"
http://faithandbrave.hateblo.jp/entry/2014/02/18/142057