@Override
    public boolean equals(Object obj)
    {
        if(obj == null)
            return false;
        if(obj.getClass()!=Square.class)
            return false;
        
        Square other = (Square)obj;
        return this.row==other.getRow() && this.column==other.getColumn();
    }