using named tuples in uniform cost search