

totalHits=[];
j=0;
for i=1:10
    hits=0
    while j<10
    hits=hits+1;
    j=j+1;
    end 
    totalHits(end+1)=hits;
end 

        