Added the code I wrote in May, 2013 for these problems.
Problem descriptions for all the soulutions already written.