Foundations in Problem Solving and Decision Making