r_prog-008: Assignment 2, draft 4 - potentially final.