Defining Problem As A State Space Tree