added a sample file
added a sample working with a generic lock
sample which directly uses a particular locking algorithm
Merge branch 'master' of github.com:tudordavid/ssync