Added N queens problem