Gandalf’s problem solving flowchart