Created random move method