solutions for problems

This code was mostly live. Solution for y2012 p5 isn't correct. Solution
for y2011 p8 was only 2 characters off from correct solution.