refactor findDeadStones, fix checkSuicide