How Language Models Work