How can I change colour of few cells of a matrix?