Detect Runs of Homozygosity and Runs of Heterozygosity in Diploid Genomes