title: How do I find the coordinates of the two closest points to my point in a list
body: <p>I have a list of values and a given point and I want to find the coordinates of the two closest points (one inferior and one superior).</p>
  <p>For example:</p>
  <pre><code>list = [0, 0.5, 1, 1.5, 2, 2.5, 3]
  point = 0.7
  </code></pre>
  <p>I want my return value to be [1, 2] since 0.7 is between 0.5 and 1.</p>
  <p>Any idea of how to do this?</p>