add problem 9 matrix of numbers