Make move function

make move function working to play against random and pre-trained, as well as new game now functioning properly