Finish splitting day4 code from text. Issue #20.