Words with Letters algorithms