chess engine artificiall inteligence written in Java