added array to hash method for conversion of input data
renamed: borders_to_ranges
passing text to genia by array->string