~~~
val pairs = Array.tabulate(50, 50)((u, p) => (u - 25, p - 25)).flatten
~~~