R = matrix([[-1,1,0],[0,-1,1]]) 
R_Transpose = matrix([[-1,0],[1,-1],[0,1]])
x = R*R_Transpose
y = R_Transpose*R
print "R multiplied with R_Transpose is ",x 
print "R_Transpose multiplied with R is " ,y