function List = ListGenerator(n,min,max)
%List = ListGenerator(n,min,max)
%input:  n = a positive integer, 
% min < max  integers, 
%output:  List, a 1 by n vector having random 
%integer entries from the set {min, ..., max}
rand('state', sum(100*clock))
len = max-min+1;
List = round(len*rand(1,n)+min-.5);


