Second homework for Principles.