A python project to find words that can be spelled using prefixes of elements