Words with Letters subprogram