added merging of adjacent ranges in AllDarks class, used by generate_vardark.py. bugfixed a case in vardark generation where range is specified as list instead of tuple.