Set up framework for generic sets.
Added tests for lists as sets.