word_is_valid accepts 3 char words and search_interface handles invalid words and filename entries in the hashtable