title: What is the best way to create a 10x10 grid and print it in the console?
body: <p>I have something like this:</p>
  
  <pre><code>NSMutableArray *theBoard = [NSMutableArray array];
  
  for (int i = 0; i &lt; 100; i++) 
  {
      [theBoard addObject:[NSString stringWithFormat:@"o"]];
  } 
  
  for (int i = 0; i &lt; 10; i++) 
  {
      NSLog(@"       %@",[[theBoard subarrayWithRange:NSMakeRange(0+(i*10), 10)]componentsJoinedByString:@"  "]);
  }
  </code></pre>
  
  <p>Console output:</p>
  
  <pre><code>o o o o o o o o o o
  o o o o o o o o o o
  o o o o o o o o o o
  o o o o o o o o o o
  o o o o o o o o o o
  o o o o o o o o o o
  o o o o o o o o o o
  o o o o o o o o o o
  o o o o o o o o o o
  o o o o o o o o o o
  </code></pre>
  
  <p>I need to work with the <strong>coordinates of the array</strong>. How can I solve this problem?</p>
  
  <p>What is the best way to create a 10x10 grid and print it in the console?</p>