If A = [[0, 1, 0], [0 0 1], [p, q, r]] and I is the identity matrix of order 3, show that A^3 = pI + qA + rA^2