An MIT computer science and math student convinced AI would transform how code is written, he and three classmates left school in 2022 to build Cursor, the AI code editor.