title: Recursive Nested Lists
body: <p>I'm having trouble getting my head around a problem on recursive nested lists. The problem; need to define a procedure to access a nested list to an arbitrary depth. It would take an nested list and an index, and return the part of the list at that index. From this given function, recursively find the value at the given index.</p>
  
  <p>For example</p>
  
  <p>Well here is a better visual representation. To select the element 9 out of it, we need to do something like
  nested[3][1]</p>
  
  <p><p></p>
  
  <pre>
      nested = \
      [[[1, 2],
        3],
       [4,
        [5, 6]],
       7,
       [8, 9, 10]]
  </pre>
  
  <p><p></p>
  
  <pre><code>recursive_func(nested_list, [3,1]) #recursive function definition, the second argument is the index at which the data needs to be retrieved.  
  &gt;&gt;&gt; 9 #so given the function an index of [3,1] would return 9
  </code></pre>
  
  <p>Any help to point me in the right direction would be grateful </p>