Added writing section for chat.cgi

In chat server tutorial part 2, wrote the mesaging script text and code.