Chess engine written in C