public boolean canMove(Square[][] board, char c)
    {
        LocationSet[] legalMoves = legalMoves(board, c);
        for (int x = 0; x < legalMoves.length; x++)
        {


            for (int y = 0; y < legalMoves[x].destinationNum(); y++)
            {
                if (legalMoves[x].getIndex(y) != null)
                {
                    return true;
                }
            }
        }
        return false;

    }