My solution for 2013's psets (some of them)