getting best hand for AI