Use the CGI module.

Use the CGI module instead of printing raw html for faster coding
and more readable code.