fix simple spell error
add topo sort, iterator method, instead of memorized method