Added set and get methods for individual numbers in a matrix. Also created getSubMatrix function.