Added minimal c++ model for offspring viability