modifying browsing of matrix from (height - 1 -> 0) to (0 -> height - 1)
fixed "prev" function to match with new browsing matrix way (0 -> height - 1)
"insert_unique_sorted" now sort the list in a descendant way (biggest y coordinate first)