Added -d or --days flag to allow specifying the number of days to calculate.
Implemented daily recurrence class and tests.