Network algorithm for the Exact Test of Hardy‐Weinberg Proportion for Multiple Alleles