fix: tournament replacement strategy could be using wrong indices
feat: add best replacement
chore: move env to codes/eoa_lib
feat: Add replacement strategy