Updated main to pass a string to the monogram matrix class instead of a file object.