add second algorithms hw