Add algorithm, has bug in NQueens