Added method to get children of a given node