added uniform cost search