I am trying to write a matrix where n=100, and the matrix's first and last number is 2 and all the number in the middle are 1.