How your brain works and how it tackles problems