Added words.pl : Prolog clauses to evaluate whether a given word is a valid word.