Start with the 10 copies, numbered in some order. Choose a random time (we are going backwards in time) when two will coalesce, and choose which two (using random fractions) coalesce. Then you have 9 lineages. Do the same for the 9, changing the expected time to coalescence appropriately. Contine till there is 1.
Print out a summary of who coalesced and when.
Run your program a number of times. Are the coalescences quicker when there are more lineages (i.e. earlier in the process)? Is there much random variation in how many generations it takes for the whole set of lineages to coalesce?