Print matrix