taxonomy_get_children
$data = get_taxonomy_tree_having_parent(2, '221');
$present_state_list = array();
$listing_url='flowchart-listing/state';
foreach ($data as $p){
$t = taxonomy_get_children($p->tid);
$keys = array_keys((array)$t);
$present_state_list[str_replace(' ', '_', strtolower($p->name))] = $listing_url.'/'.$keys[0];
}
dsm($present_state_list);