title: Using two(multi) dimensional array in Erlang
body: <p>These days I'm solving <a href="https://projecteuler.net" rel="nofollow noreferrer">Project Euler</a> problems in Erlang.</p>
  
  <p>Since I'm a C++ programmer from the beginning, sometimes I really want to code using two dimensional arrays.</p>
  
  <p>One of my idea is to use tuples and lists like this:</p>
  
  <pre><code>List=[{X,0}||X&lt;-lists:seq(1,3)]
  {1,0}
  {2,0}
  {3,0}
  </code></pre>
  
  <p>Is there nice way to implement multidimensional arrays in Erlang?</p>