added factorial examples