/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Boolean[][] squaresWithPieces = new Boolean[][]{
		    { Boolean.TRUE, null, Boolean.FALSE },
		    { Boolean.FALSE, null, Boolean.TRUE },
		};
		
		System.out.println( "-----|  Boolean Formatter  |---------" ) ;
		for (int row = 0; row < squaresWithPieces.length; row++)  // Cycles through rows.
		{
		    for (int col = 0; col < squaresWithPieces[row].length; col++)  // Cycles through columns.
		    {
		        System.out.printf("%5b ", squaresWithPieces[row][col]);  // Change the %5d to however much space you want.
		    }
		    System.out.println("") ;
		}
		
		System.out.println( "-----|  String Formatter  |---------" ) ;
		for (int row = 0; row < squaresWithPieces.length; row++)  // Cycles through rows.
		{
		    for (int col = 0; col < squaresWithPieces[row].length; col++)  // Cycles through columns.
		    {
		        System.out.printf("%5s ", squaresWithPieces[row][col]);  // Change the %5d to however much space you want.
		    }
		    System.out.println("") ;
		}
		
		System.out.println( "\n\n" ) ;
	}
}