added iterative method of dtl with priority queue