More logic completion on adding expenses before the last ledger entry. Built some helper functions that returns dates for the process.