Building a simple echo chatbot