Makes basic best move function
Merge