updated test1 so it uses Neperien module
changed the format: no more list of IDs, but previous/last_child pointers (rose tree)