Added chatterbot functionality to text box