add Q7(matrix nullify) and Q8(check if rotate).