updated inheritDNA() to handle < and > 3 parents. fixes issue # 8