Added reduce function
Added concat and iota to functions