v3 completed. Tested to work with more than 2 alleles. Need to remedy loss of information on merged edges and visualization.