Made 8 queens solver in C