problem solving helps to build mental agility