Added LaTeX write-up of the solutions