title: grid view i have to display the 3X3 matrix how to do that
body: <p>grid view i have to display the 3X3 matrix how to do that.</p>
  
  <p>input values are horizontal value and vertical value.</p>
  
  <p>for example horizontal value is 3 and vertical value 3 then i have to diaplay to below format</p>
  
  <pre><code>1 2 3
  4 5 6
  7 8 9
  </code></pre>
  
  <p>for example horizontal value is 2 and vertical value 2 then i have to diaplay to below format</p>
  
  <pre><code>1 2
  3 4
  </code></pre>
  
  <p>for example horizontal value is 3 and vertical value 2 then i have to diaplay to below format</p>
  
  <pre><code>1 2 3
  4 5 6
  </code></pre>