add homework5 solution