add homework4 solution