New function compose-sets. valid? can also accepts 1 param

Fixes #19.
Tests for compose-sets. Fixed syntax error for valid?
Merge pull request #20 from hura/master

New function compose-sets. valid? can also accepts 1 param