print array of months