Print all surrounding coordinates given an X and Y : <p>I want to make a function that given a list and a range:</p>

<pre><code>coordinate=[x,y]
</code></pre>

<p>Creates a list that contains all integer points in range.
For example,</p>

<pre><code>coordinate=[0,0]
range=1
</code></pre>

<p>Would return</p>

<pre><code>[[-1,1],[0,1],[1,1],[-1,0],[0,0],[0,1],[-1,-1],[0,-1],[1,-1]]
</code></pre>

<p>Likewise for range 2 would return</p>

<pre><code>[[-2,2],[-1,2],[0,2]...]
</code></pre>
