NF: added Dan's day12 answers with some edits