Added random move function