A little bit of code to index wordlist for searching