title: Find the closest elements above and below a given number
body: <pre><code>myArr = array([4,1,88,44,3])
  myNumber = 25
  FindClosest(myArr, myNumber)
  ...
  4, 44
  </code></pre>
  
  <p>Is there any way to find the closest 2 numbers in a list to a given number such that one of them is higher and the other lower?</p>
  
  <p>I can find the closest number by:</p>
  
  <pre><code>min(myArr.tolist(), key=lambda x:abs(x-myNumber))
  </code></pre>