Completed Medium 04

After getting back upto date on the easy section. Back to working on
medium problems.