I have two lists:
val list1 = List("asdf", "fdas", "afswd", "dsf", "twea", "rewgds", "werwe", "dsadfs");
val list2 = List();
I want to filter all items from list1 and setup list2 so that it only contains items that don't contain the letter 'a'. I know how to do this with imperative programming, but how would I do this with functional programing?