code execution failed with 9 errors
code has been modified by defining the matrix A nd B