algo4 solutions