adding hw-3-2 solution