Matrix example prints list of integers in matrix