Unlike smartphones, our mental hardware is tremendously changeable. Here’s how our remarkably nimble brains rewire themselves.