Complex Problem Solving and the Theory of Complexity in High School Teaching