add pickBestOfNLegalMoves method