A multithreaded chess AI implemented in Java