An attempt to build a chess AI