Defining Problem As A State Space Search Diagram