function table = hash_init(s)
%initializes a hash table of given size
table.size = s;
for j = 1:s
    table.keys{j} = [];
end;