If the system of equations x−ky−z=0,kx−y−z=0 and x+y−z=0has a non-trivial solution, then k can be :
A. 0,1
B. 1,-1
C. -1,2
D. 2,-2