Problem solving with search algorithms like A*