Added JavaDocs to Problem 12 and 22.
Added Problem 42.