tests: add simple test for evolution on one_max
refactor: do perturbation in place instead of cloning
chore: move env to codes/eoa_lib
feat: add evolution algorithm