inherit genes with randomness for drift