title: Changing an indexed array to an associative array
body: <p>I have an array like the following</p>
  
  <pre><code>1 =&gt; "Los Angeles" 
  2 =&gt; "California" 
  3 =&gt; "St. Louis" 
  4 =&gt; "Missouri" 
  5 =&gt; "Boston" 
  6 =&gt; "Massachusetts"
  </code></pre>
  
  <p>I want to change it to an associative array, so every odd entry index would be City and every even entry would be state. 
  Let me know if this makes sense.</p>