Fixed Random move

Fixed random move function, also changed name to "random_cpu" cause we
believe it was causing errors on linux.