Chess engine which uses alpha-beta pruning