Created implementation for generating day deltas

Makes the unit tests pass.