Chess Project in C