A filtering function applies a predicate (boolean function) on every element of a list.
Only elements on which the predicate returns true are returned from the filtering function.
The function filter is not an essential Scheme function - but is part of the LAML general library