Write a function `Map` that, for an `int` slice, applies a function of this type `func(int) bool` on each elements of that slice and returns a slice of all the return values.
Write a function `Map` that, for an `int` slice, applies a function of this type `func(int) bool` on each element of that slice and returns a slice of all the return values.