/**
* Checks if the square contains all the numbers from 1 to N^2, exactly once each.
*
* @param square - an NxN square of numbers
* @return true if square contains the numbers, otherwise return false
*/
public static boolean correctNumbers(int[][] square)
{
return false;
}
/**
* Check if a magic square is valid. To be valid, an NxN square must contain
* all numbers from 1 to N^2 exactly once each, and the numbers in each row,
* column and diagonal must sum to the same total.
*
* Hint: Use the sum methods and the correctNumbers method here.
*
* @param square - an NxN square of numbers
* @return true if the square is a magic square; false otherwise
*/
public static boolean validMagicSquare(int[][] square)
{
//TODO: Write this method.
return false;
}