Improved solution to Problem 6.
Improved various solutions.
Small change to Problem 41.