very simple C program to echo back json
modify ajax call to point to chess_ai.cgi