I first implemented a zero matrix indicating that all the positions of the chessboard are initially available and then I implemented three functions to fill the restrictedIndices and then the recursive function I am getting wrong output and I would kindly like to know if we can solve the problem this way and if there is a better alternative. I