function out = myhash(x, size)
out = mod(x, size)+1;