Added a small function to print Matrix