Added the cond function to Userlib, also added the associated tests and documentation.
way of more typical readme items.