Total and Partial-Order Planning: Application of Results from Artificial Intelligence to Children and Lesioned Adults