Development of a chess engine