are logic puzzles good for your brain