Write a function decoder that reads a coded message and outputs the message. The coded message comes in the form of a matrix. Each row indicates one letter. 1 indicates a lowercase letter and 2 indicates an uppercase letter. If all elements in a row are zero, it means a space.
Example coded message:
Output: I love MATLAB