C Program giving solutions to Eight Queens' Problem