Some foldl/foldr exercises