Where I got to on Saturday.
Added psuedocode for probs 3 and 4.