%purpose of this is to figure out the general strategy of
%deals from people of a certain degree - where does regret
%figure in
function result = Deals(indata, trial, degree)
neigh = Neighbors(indata,trial);
data = indata{trial,8};
s = size(data);
s = s(1);
counter2 = 1;
for counter = 1:s
    if neigh(data(counter,2),1) == degree
        result(counter2,1) = data(counter,5) / data(counter,3);
        counter2 = counter2 + 1;
    end
    %think about if they did a deal between each other
    if neigh(data(counter,4),1) == degree
        result(counter2,1) = data(counter,3) / data(counter,5);
        counter2 = counter2 + 1;
    end
end