N queen implementation with C language.