Formatted solution to exercise 1.29.
Added solution to exercise 1.30.