add algorithms hw