changing days_array so that Sundays are 7 instead of 0