added multithreading to Player.rankBestMoves