Google like word by word autocomplete feature with both option hard coded array or read keywords from a file