Output format:
input haplotype
input haplotype

genotype

output haplotype
output haplotype
----------------
1010110000
0010110000

2010110000

0010110000
1010110000
----------------------------------------------------------------------
0010110000
0010110000

0010110000

0010110000
0010110000
----------------------------------------------------------------------
0100000111
0000100000

0200200222

0100100111
0000000000
----------------------------------------------------------------------
0011111000
1010110000

2012112000

1011111000
0010110000
----------------------------------------------------------------------
0100000111
0000100000

0200200222

0100100111
0000000000
----------------------------------------------------------------------
The tree is:
( e5 ( e3 e6 ( e1 ( e4 e7 ( e p4a ) , e p1b ) , e p1a , e p2a , e p2b 
, e p4b ) , e2 e8 e9 e10 ( e p3a , e p5a ) ) , e p3b , e p5b ); 

The tree is not unique and there are 64 possibilities
