add hash.c to test some hash function