splay tree and word list added