Modified compileWords() to only return words that contain JUST words in
the letter beg and not ones with additional letters. It filters the
dictionary method that returns words.