updated constructor (String)

updated the constructor to take a string based on which to construct the
2D array of the matrix. The string will have the numbers separated by ,
and ; in the form of 1,2,3;4,5,6;7,8,9