added solution to prob29