Change list1 to sample.
Add tests for Enum.filter_map and list comprehensions.

Enum.map, filter, and filter_map seem more readable than list
comprehensions to this Ruby programmer. But it seems that Elixir
gives you several tools to do the work and lets you choose the best one
-- just like Ruby!