Adding code for Eight Queen Problem