Prolog: Day 3 added.  Still have some TODOs left.