question: public static String toString ( Pnt [ ] matrix ) { StringBuilder buf = new StringBuilder ( "{" ) ; for ( Pnt row : matrix ) buf . append ( " " + row ) ; buf . append ( " }" ) ; return buf . toString ( ) ; }
target:  Create a String for a matrix.