Defining Problem As A State Space Search