Added a first version of the IPTree code.