and use the visualisation functionality it provides. If you want to translate this code into another language, the essential things that you'll need to do are implement the Kingman coalescent and functions to translate to and from Newick. Hopefully, you are using a language which supports recursion