fix graph_search on eightpuzzle.py, +ucs