Fixed typecasting in Range()
Added FoldLeft transformation