Programming the Unix program "pstree"