A chatbot in scala