hw16

still not functional for duplicates

(also partition corrections)