Problem 3 done. BONUS: Refactored make_invoices function slightly to only have to use dictionary look-up once.