How the Brain Works, and Does Not Work