new line after showing word
added a functionality to edit an existing word