add examples for the elements about function matrix

I added the documents of the list-type examples for the elements about the function "matrix".