added foldLeft to collections