added tournament selection functor, and a functor for termination after N generations.
Merge branch 'master' of git+ssh://git.becquerel.org/srv/git/jyujin/libefgy