(Algorithms1, week3) Solution scaffolding