Update hexai.cpp

adapted for autoplay using arbi - the bash script