Rewrite grid#randomize