added new method, create matrix n x m.
Fixed print method.