simple script to display sequential ranges (in months) from an array of durations given a start date