tetris AI as a cgi script