How we think :a theory of goal-oriented decision making and its educational applications