Use a std::vector to store searchMoves