Added chapter 12 solutions

For review
I think I would be more tempted to pass the hash of files rather than the scoped variable, I guess that's just preference though.