Create writeSquares.java