So, the task is to generate all unique pairs of numbers from 0 to N, which makes the length of the list N * (N - 1).
In order to gen