Adding mapfilter function

Mapfilter combines the behavior of map and filter into one function. When the iterator function returns false, the mapped value is omitted from the returned array.