Updates Main.java, and SquareMatrix.java.