Finished up to creating the fptree