added new function (to finish!) into CatalanStructures.hs