Solving puzzles can boost your brain health. Here’s how.