Update solutions of homework4