Clunky but clear and complete solutions to Day 2 Q3 & Q4