dsa assignment cs.3