Redid Uniform Cost Search Correctly