Solved problem nine.