Added a function to take the best Move