algorithms hw #1