Completed main functions needed for nqueens yet to write main function which needs a zero matrix creatorand also some code for adding values for the second flag to check invalidity while inserting givien values