Solution for final exam q4
Solution for a problem that either I skipped, or was added after I did section 2.