Get All children for Tree Util

Get all children method for tree util