Here are the programs for leech tree of nine nodes and eleven nodes.