pset3 solution
merge