fixed NPuzzle and add A* Search