Add homework 4 for 671