S=span{x_1, x_2, x_3}, where x_1=(1,1,1,-1)^T, x_2=(2,-1,-1,1)^T, and x_3=(-1,2,2,1)^T.
1) use Gram-Schmidt algorithm to the sequence {x_1,x_2, x_3} to find an orthonormal basis of S
2) use the result above to find the QR factorization of the matrix A=(x_1l x_2l x_3).