City on a Grid: How New York Became New York