Network Programming : homework3 cgi