I have two functions, how can I optimize this code? In wordlist function I read from a file with fscanf, i use a temporary array to do the hash, so I can keep the read line when