Corrects notes for problem 6.

My assumption about the form of the problem was incorrect (basically the
sign was backwards) and there was also an algebraic mistake in finding
the closed form. The solution should be correct now.
Adds python solution to problem 6.