Check the values of a matrix and jump in columns using a recursion function

join shbcf.ru