working on choosing words from based on its probability