#include <psl_ndx.h>
Working with lists in arrays
prev and next ptr limits to -1 (wrong index). E.g. [0]{-1, 3} - [3]{0, 4} - [4]{3, 7} - [7]{4, -1}