Challenge - Creating a function to filter elements using only the flatMap() operator