Separate file for Matrix class was created