add children method

@rami-khalil : the tree structure is created here