Make source dir. Altered Set.addToSet.

Created a directory for source files for algebraJS.

Set.addToSet has been modified so that the filter function
is called on each argument from the returned function.
This simplifies the definition of the filter function.