creating count words
adding print message
adding string input