add links in documentation
split code into life core and life player
retun number of duplicate generation