Added a matrix class ( ex.3 )