Added Dna.get_ranges method