[add corrent answer][Q11.6]find element in a matrix