I used double hashing for collision resolving. To checking a word can be more efficient with hash functions but doing that requires some adjustments. Maybe I can apply that later. Use reuters news files that are served me by my course instructor, CMP2003, at Bahcesehir University- Istanbul.