A simple C chess engine