A simple chess engine written in C