Modifying selectBestMove to select next move

If after selectBestMove, a move is not made,
if we call it again, a different move is selected

Signed-off-by: Mayuresh Janorkar<janorkar@usc.edu>