Solver for NQueens problem using Genetic Algorithm