prompt if repeated letter inputted, gets words from dictionary