Added foldG and mapG plus examples