Fostering Mathematical Thinking and Problem Solving: The Teacher's Role