added final files for algs 1 and 2