initial working python text-chat example