problem for algo pset