Matrix class and print Matrix implemented