added functions for sampling parents and producing children according to points scored in the game.