added user prompt and printing to console for word chain