Mastering Chess and Shogi by Self Play with a General Reinforcement Learning Algorithm