def createWithData(self, data):

        chromosomeData = ChromosomeData()

        chromosomeData.data = data

        return chromosomeData
    def createRandom(self):

        chromosomeData = ChromosomeData()

        chromosomeData.data = ''.join([choice(("0", "1")) for _ in range(self.dataLength)])

        return chromosomeData