folding exercises from the lectures